package com.serve.oa.mapper;

import com.serve.oa.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author __tyw
 * @since 2022-10-31
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> listRolesByUserIdMp(Long userId);

    List<Long> listRolesByUserIdArr(Long userId);

}
